<template>
  <div class="chart-title">
    {{ title }}
  </div>
</template>

<script>
export default {
  props: {
    title: {
      type: String,
      default: "暂无标题",
    },
  },
};
</script>

<style scoped lang="scss">
.chart-title {
  background-image: url("/img/screen/title.png");
  background-size: 100% 100%;
  background-repeat: no-repeat;
  height: 35px;
  line-height: 35px;
  width: 100%;
  font-size: 16px;
  color: #f5f5f5;
  padding-left: 25px;
}
</style>
